/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.model;

import java.util.Timer;

/**
 *
 * @author admin
 */
public class TimerSimpanPublikasi {
    private int waktuInterval;
    
    public TimerSimpanPublikasi() {
        
    }
   public void TimerSimpanPublikasi(int waktuInterval) {
       this.waktuInterval=waktuInterval;
            Timer timer = new Timer();
            timer.schedule(new TugasSimpanPublikasi(),5000,waktuInterval);
   }
}
